<?php
require('includes/top.php');
$question=$_POST['ask'];
$qu=mysql_query("select * from faq where faq='".$question."'");
$row=mysql_fetch_array($qu);
$faq_id=$row['faq_id'];
	$ans=mysql_query("select * from answers where faq_id=".$faq_id);
	while($res=mysql_fetch_array($ans))
	{
		echo $res['answers'];
	}
/*
 if($result)
 {
header("location:search_quastion.php");
}
 else
 {
	 echo mysql_error();
 }*/
ob_flush();
?>
 








